package com.lfz.demo.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lfz.demo.dao.ChinaTotalMapper;
import com.lfz.demo.entity.ChinaTotal;
import com.lfz.demo.service.ChinaTotalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lfz
 * @date 2025/2/28 17:31
 */
@Service
public class ChinaTotalServiceImpl extends ServiceImpl<ChinaTotalMapper, ChinaTotal> implements ChinaTotalService {

    @Autowired
    private ChinaTotalMapper chinaTotalMapper;

    @Override
    public List<ChinaTotal> findSevenTotalPopulation() {
        return chinaTotalMapper.findSevenTotalPopulation();
    }
}
